var text = "IVONA means highest quality speech synthesis in various languages. It offers both male and female radio quality voices at a sampling rate of 22 kHz which makes the IVONA voices a perfect tool for professional use or individual needs.";

$.ajax({
    type : "POST",
    url : "http://www.ivona.com/index.php", 
    data : {
        synth : 1,
        tokenUrl : "http://www.ivona.com/?tk=",
        tresc : text,
        voice : 3
    },
    success : function (data) {         
        var url = data.documentElement.textContent.split("playSynth('")[1].split("')")[0];
        console.log(url);
        $("embed").remove()
        $("body")[0].innerHTML += "<embed src=\"" + url + "\" type=\"audio/mpeg\"/ style=\"height:0px;\"/>";         
    }
});